import base from "./base.js";

export default class Game extends base {
  constructor(e) {
    super(e);
    this.model = "show";
  }
  async get_playerData(myData) {
    this.model = "player";
    return {
      ...this.screenData,
      saveId: "player",
      ...myData,
    };
  }
  
  async get_equipmnetData(myData) {
    this.model = "equipment";
    return {
      ...this.screenData,
      saveId: "equipment",
      ...myData,
    };
  }

    
  async get_najieData(myData) {
    this.model = "najie";
    return {
      ...this.screenData,
      saveId: "najie",
      ...myData,
    };
  }

  async get_stateData(myData) {
    this.model = "state";
    return {
      ...this.screenData,
      saveId: "state",
      ...myData,
    };
  }
  
  //万宝楼
  async get_valuablesData(myData) {
    this.model = "valuables";
    return {
      ...this.screenData,
      saveId: "valuables",
      ...myData,
    };
  }
  // //修仙帮助
  // async get_helpData(myData) {
  //   this.model = "help";
  //   return {
  //     ...this.screenData,
  //     saveId: "help",
  //     ...myData,
  //   };
  // }

}
